package com.znpc.entity;

import org.apache.poi.xssf.usermodel.XSSFRow;

/**
 * @Date 2021-09-05 21:48
 * @Author YangFan
 * @Description 产能对象
 */
public class Capacity {

    public String pName;
    public int line;
    public int capacity;

    public Capacity() {
    }

    public Capacity(XSSFRow row) {
        this.pName = row.getCell(1).toString();
        this.line = (int) Double.parseDouble(row.getCell(2).toString());
        this.capacity = (int) Double.parseDouble(row.getCell(3).toString());
    }
}
